<?php

/* 商店退货 brand */
class Order_salesreturnModel extends BaseModel
{
    var $table  = 'order_sales_return';
    var $prikey = 'rid';
	
    var $_relation = array(
	   'belongs_order' => array(
                            'model' => 'order',
                            'type' => BELONGS_TO,
                            'foreign_key' => 'order_id',
                            'reverse'       => 'has_salesre',
            ),
	);

}

?>